﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ConsoleApplication1.Forms.Cliente
{
    public partial class ViewCliente : Form
    {
        public ViewCliente()
        {
            InitializeComponent();
        }

        internal static void Run(Form form)
        {
            
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void label7_Click(object sender, EventArgs e)
        {

        }

        private void label11_Click(object sender, EventArgs e)
        {

        }

        private void tnome_TextChanged(object sender, EventArgs e)
        {
            if (tnome.Text.Length > 1)
            {
                tnome.BackColor = Color.White;
            }
            else
            {
                tnome.BackColor = Color.FromArgb(255, 192, 192);
            }
        }

        private void tcpf_TextChanged(object sender, EventArgs e)
        {
            if (Util.Util.Valida(tcpf.Text))
            {
                tcpf.BackColor = Color.White;
            }
            else
            {
                tcpf.BackColor = Color.FromArgb(255, 192, 192);
            }
        }

        
    }
}
